package cl.rizepe.playntest.core.effects;

import playn.core.Pointer.Event;
import playn.core.Pointer.Listener;

public class EffectedListener implements Listener {
	Effect effect;
	
	public EffectedListener(Effect effect){
		this.effect = effect;
	}
	
	@Override
	public void onPointerStart(Event event) {
		
	}

	@Override
	public void onPointerEnd(Event event) {
		effect.toggle();
	}

	@Override
	public void onPointerDrag(Event event) {

	}

}
